package com.uml.umlwork.dto.student;

import com.uml.umlwork.entity.enumeration.GenderEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Siki
 * @date 2020/12/22
 */
@ApiModel("学生修改信息DTO")
@Getter
@Setter
@NoArgsConstructor
public class UpdateStudentInfoDTO {
    @ApiModelProperty("年龄")
    @NotNull(message = "年龄不能为空")
    private Integer age;

    @ApiModelProperty("性别")
    @NotNull(message = "性别不能为空")
    private String gender;

    @ApiModelProperty("邮箱")
    @NotNull(message = "邮箱不能为空")
    private String email;

    @ApiModelProperty("学历")
    @NotNull(message = "学历不能为空")
    private String eduLevel;

    @ApiModelProperty("职业")
    @NotNull(message = "职业不能为空")
    private String job;
}
